#pragma once
#include <typescommon.h>
int cvtHex2str(const char *hexptr, int hexsize, char *outstr, int outsize);
// void logHexBuf(char *hexptr, int hexsize, const char *logFile, int logLine);
// #define logHexBufDef(hexptr, hexsize) logHexBuf(hexptr, hexsize, __FILE__, __LINE__);
int cvtStr2hex(const char *instr, int insize, char *hexptr, int hexsize);

void logHexBufStr(const char *expStr, const char *hexptr, int hexsize);



